/**
 * 
 */
package com.helper;
import android.graphics.Bitmap;
/**
 * @author cheng
 *
 */
public class PhotoItem {
		private String name;
		private String infomation;
		private String bt;
		private int icon;
		private int id;
		private int layout;
	    private Bitmap img;
		public PhotoItem(int id, String name,String info,String bt, int icon,int lay) {
			this.setId(id);
			this.setCaption(name);
			this.setInfo(info);
			this.setButton(bt);
			this.setIcon(icon);
			this.setLay(lay);
		}
		public void setCaption(String caption) {
			this.name = caption;
		}
		public String getName() {
			return name;
		}
		public void  setButton(String bt)
		{
			this.bt = bt;
		}
		public String getButton()
		{
			return bt;
		}
		public void setInfo(String info)
		{
			infomation = info;
		}
		public String getInfo()
		{
			return infomation;
		}
		public void setIcon(int icon) {
			this.icon = icon;
		}
		public void setLay(int layout)
		{
			this.layout = layout;
		}
		public int getIcon() {
			return icon;
		}
		public void setId(int id) {
			this.id = id;
		}
		public int getId() {
			return id;
		}
		public void setBitMap(Bitmap bitImg)
		{
			img = bitImg;
		}
		public Bitmap  getBitMap()
		{
			return img;
		}
	}
